<?php

namespace app\model\exam;

use app\model\course\topic\Topic;
use app\model\TimeModel;
use think\model\Relation;

class ExamLinkTopic extends TimeModel
{
    protected $table = 'sj_exam_link_topic' ;

    public function topic(): Relation
    {
        return $this->belongsTo(Topic::class, 'topic_id', 'id');
    }
}